package com.learn.project2.model.vo.wx.topic;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @description: 微信小程序 /wx/topic/list的输出映射
 * @author 曹源
 * @date  2022/1/11 9:59
 * @version 1.0
 */
@NoArgsConstructor
@Data
public class TopicListVO2 {

    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<ListDTO> list;

    @NoArgsConstructor
    @Data
    public static class ListDTO {
        private Integer id;
        private String title;
        private String subtitle;
        private BigDecimal price;
        private String readCount;
        private String picUrl;
    }

}
